﻿using SimpleConnection_UDP_WIN.extension_class.utils;
using System;

namespace SimpleConnection_UDP_WIN.interface_class
{
    /// <summary>
    /// 插件抽象类，继承于此类 可以获得能力
    /// </summary>
    internal abstract class PluginAbstractClass
    {

        public virtual string message { get; set; }
        public virtual string ip { get; set; }
        public virtual int port { get; set; }


        /// <summary>
        /// 插件类，必须传入 这些
        /// </summary>
        /// <param name="message"></param>
        /// <param name="ip"></param>
        /// <param name="port"></param>
        public PluginAbstractClass(string message, string ip, int port) 
        {
            this.port = port;
            this.ip = ip;
            this.message = message;
        }

        protected PluginAbstractClass() 
        {
        }


    }
}
